package com.example.springmybatis.service;

import com.example.springmybatis.entity.User;
import com.example.springmybatis.vo.UserGroupVo;

import java.util.List;

public interface UserService {

    User insertUser(User user);

    void deleteUser(Integer uId);

    User updateUser(User user);

    User findUserById(Integer uId);

    List<User> findAllUser();

    UserGroupVo findUserGroupVo(Integer uId);

    List<User> findUserByCondition(User user);
}
